package com.chainyoung.component_tmperson.ui.mvp.contract;

import com.chainyoung.common.appcommon.entity.CommonList;
import com.chainyoung.common.mvp.IModel;
import com.chainyoung.common.mvp.IView;
import com.chainyoung.component_tmperson.entity.Reward;
import com.chainyoung.component_tmperson.entity.WalletDebit;

import java.util.List;
import java.util.TreeMap;

import io.reactivex.Flowable;

public interface RewardContract {

    interface View extends IView {

        void onGetRewardList(CommonList<Reward> datas);

        void onGetRewardListFailed();



    }

    interface Model extends IModel {

        Flowable<CommonList<Reward>> getRewardList(TreeMap<String,Object> map);

    }


}
